package jdk8的特性.使用流来收集数据.归约和汇总;

/**
 * 菜肴
 * @author idea
 * @data 2018/9/16
 */
public class Menu {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "name='" + name + '\'' +
                '}';
    }
}
